//
//  CourseModel.h
//  Edu_iOS2018
//
//  Created by yanyan on 2018/1/6.
//  Copyright © 2018年 yanyan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CourseModel : NSObject
@property(nonatomic,strong)NSString *modelId;
@property(nonatomic,strong)NSString *title;
@property(nonatomic,strong)NSString *pictureUrl;
@property(nonatomic,strong)NSString *num;//学习人数|购买人数
@property(nonatomic,strong)NSString *price;// 促销价格，实际价格
@property(nonatomic,strong)NSString *originPrice;// 初始价格
@property(nonatomic,strong)NSString *teacher;//订单的时候显示 会用到
@property(nonatomic,assign)BOOL isFavorited;//是否收藏
@property(nonatomic,assign)BOOL isMember;//是否是该课程的学员
@property(nonatomic,strong)NSString *status;// 课程的状态：draft 未发布 published 发布closed 关闭
@property(nonatomic,assign)BOOL deleted;//  add  是否已经删除课程
- (instancetype)initWithObject:(id)obj;
@end
